package com.maimao.spider.model;

import lombok.*;

import java.time.LocalDateTime;

/**
 * @author MaoLin Wang
 * @date 2020/11/24 10:00 上午
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Category {

    private Integer id;
    private String name;
    private Integer level;
    private Integer pid;
    private Integer order;
    private Integer status;
    private String picture;
    private String mobileName;
    private String pinyin;
    private String head;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", level=" + level +
                ", pid=" + pid +
                ", order=" + order +
                ", status=" + status +
                ", picture='" + picture + '\'' +
                ", mobileName='" + mobileName + '\'' +
                ", pinyin='" + pinyin + '\'' +
                ", head='" + head + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
